#!/usr/bin/env python
#coding: utf-8
'''
Created on 2017年4月17日

@author: Administrator
'''


from django.conf import settings
from common import settings as common_settings
from article import settings as article_settings

DEFAULT_COMMAND_USER = settings.DEFAULT_COMMAND_USER
RegexEnum = common_settings.RegexEnum
StateEnum = common_settings.StateEnum
BoolNumberEnum = common_settings.BoolNumberEnum
BOOL_NUMBER_CHOICES = common_settings.BOOL_NUMBER_CHOICES
get_state_desc = common_settings.get_state_desc
SOURCE_CHOICES = article_settings.SOURCE_CHOICES

ES_INDEX_COMMENT_LIST = "es_index_comment_list"
ES_INDEX_COMMENT_LIST_TYPE = "comment_list"
# 最大评论长度
MAX_COMMENT_LENGTH = 10000

# 错误码分配
ERROR = {
}
ERROR.update(settings.ERROR)
